#include <stdio.h>

int main(int argc, char const *argv[])
{
    // 指针与二维数组
    int arr[3][3] = 
    {
        {1 , 2 , 3} ,
        {4 , 5 , 6} ,
        {7 , 8 , 9}
    };

    int (*ptr)[3] = arr;

    for (size_t i = 0; i < sizeof(arr)/sizeof(arr[0]); i++)
    {
        for (size_t j = 0; j < sizeof(arr[0])/sizeof(int); j++)
        {
            printf("prt[%ld][%ld] = [%d] \t" , i , j ,  ptr[i][j]);
        }
        printf("\n");
    }

    return 0;
}